import request from '@/utils/request'

// 查询站点监控关联列表
export function listPointVideo(query) {
  return request({
    url: '/basic/pointVideo/list',
    method: 'get',
    params: query
  })
}

// 查询站点监控关联详细
export function getPointVideo(id) {
  return request({
    url: '/basic/pointVideo/' + id,
    method: 'get'
  })
}

// 新增站点监控关联
export function addPointVideo(data) {
  return request({
    url: '/basic/pointVideo',
    method: 'post',
    data: data
  })
}

// 修改站点监控关联
export function updatePointVideo(data) {
  return request({
    url: '/basic/pointVideo',
    method: 'put',
    data: data
  })
}

// 删除站点监控关联
export function delPointVideo(id) {
  return request({
    url: '/basic/pointVideo/' + id,
    method: 'delete'
  })
}

// 导出站点监控关联
export function exportPointVideo(query) {
  return request({
    url: '/basic/pointVideo/export',
    method: 'get',
    params: query
  })
}